﻿using AutoMapper;
using Domain.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace ViewModel.EmployeeModel
{
    public class EmployeeBase
    {
        public int Id { get; set; }

        public string Name { get; set; }

        public string EmployeeNo { get; set; }

        public Gender Gender { get; set; }
    }


    public class EmployeeBaseProfile: Profile
    {
        public EmployeeBaseProfile()
        {
            CreateMap<Employee, EmployeeBase>().ReverseMap();
        }
    }
}
